From 893089de7f544962e66963646d8be8b0885ead32 Mon Sep 17 00:00:00 2001 From: robertl Date: Fri, 19 May 2006 15:07:38 +0000 Subject: [PATCH] Tweak chkdoc to look for xmldoc/{format|filter}/formatname.xml git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2103 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/chkdoc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gpsbabel/chkdoc b/gpsbabel/chkdoc index 8d971fa95..f16444efd 100755 --- a/gpsbabel/chkdoc +++ b/gpsbabel/chkdoc @@ -4,6 +4,8 @@ checkit() { export ECODE TYPE=$1 STY=$2 + DIR=${2}s + if ! grep -q $TYPE ~/src/babelweb/capabilities.html ~/src/babelweb/capabilities.inc then echo $STY $TYPE is not documented in capabilities.html. @@ -15,10 +17,11 @@ checkit() { echo $STY $TYPE is not documented in changes.html. ECODE=1 fi - - if ! grep -qi "$TYPE" readme.xml + + DOCF=xmldoc/$DIR/${TYPE}.xml + if ! test -f $DOCF ; then - echo $STY $TYPE is not documented in readme.xml. + echo $STY $TYPE is not documented in $DOCF ECODE=1 fi -- 2.30.2